<template>
  <div>
    <h2>学校名称：{{name | mySlice}}</h2>
    <h2>学校地址：{{address}}</h2>
    <button @click="hello">点击弹框打招呼{{x}}{{y}}</button>
     
    <br/>
    <input type="text" v-fbind:value="name"/>
  </div>
</template>

<script>

export default {
     name:"School",
     data() {
        return {
            name:'尚硅谷66666',
            address:'赛迪科技园'
        }
     },
     
}
</script>

<style>

</style>